/*
 * Copyright (c) 2002-2004, xRhino, Inc.
 *
 * This library is free software; you can redistribute and/or modify
 * it under the terms of the dual license distributed with this source
 * package (a combined Trolltech QPL/GPL-compatible license)
 *
 * Under this dual license scheme, a separate license is available for use of 
 * this code with a proprietary (closed) system. For more information on the 
 * license, please see the LICENSE file distributed with this source package.
 */
#ifndef SUGPATHSEGCURVETOQUADRATIC_H
#define SUGPATHSEGCURVETOQUADRATIC_H

#include "SugTypes.h"
#include "SugPathSeg.h"

/**
 * The class represents the Q,q path command.
 */
class SugPathSegCurvetoQuadratic: public SugPathSeg
{
  protected:
   /**
    * The x1 variable.
    */
    SugRealType mX1;

   /**
    * The y1 variable.
    */
   SugRealType mY1;

  public:
   /**
    * Returns the x1 variable.
    */
    SugRealType getX1();

   /**
    * Returns the y1 variable.
    */
   SugRealType getY1();

   /**
    * Sets the x1 variable.
    */
   SugRealType setX1(SugRealType newX1);

   /**
    * Sets the y1 variable.
    */
   SugRealType setY1(SugRealType newY1);

   /**
    * The class constructor.
    */
   SugPathSegCurvetoQuadratic();

   /**
    * The class destructor.
    */
   ~SugPathSegCurvetoQuadratic();

};

#endif
